package com.xiaoma.seckill.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaoma.seckill.entity.SeckillActivity;
import com.xiaoma.seckill.entity.SeckillRedis;

import java.util.List;

/**
 * @Author: xiaoma
 * @Date: 2021/7/26 19:49
 * @description:
 */
public interface SeckillService extends IService<SeckillActivity> {
    List<SeckillActivity> getLate3DaySeckill();
    List<SeckillRedis> getCurrentSeckill();
    SeckillRedis getGoodsByGoodsId(Integer id);
    String kill(String killId, String key, Integer num,Integer uid);
}
